﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo.Infrastructure
{

    /// <summary>
    /// 权限特性
    /// </summary>
    public class PerssionsAttribute : Attribute
    {
        public string moduleName { get; set; }
        public string actionName { get; set; }
        public PerssionType type { get; set; }

        public PerssionsAttribute()
        {

        }
        public PerssionsAttribute(string moduleName, string actionName, PerssionType perssionType)
        {
            this.moduleName = moduleName;
            this.actionName = actionName;
            this.type = perssionType;
        }
    }
}
